package com.zb.zeus.system.api.domain.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @author liangfan
 * @date 2021/07/12 16:06
 **/
@Data
public class WxTextCard {

    @JsonProperty("title")
    @JSONField(name = "title")
    @ApiModelProperty(value = "标题")
    @NotBlank(message = "标题不能为空")
    private String title;

    @JsonProperty("description")
    @JSONField(name = "description")
    @ApiModelProperty(value = "内容描述")
    @NotBlank(message = "内容不能为空")
    private String description;

    @JsonProperty("url")
    @JSONField(name = "url")
    @ApiModelProperty(value = "跳转连接")
    @NotBlank(message = "跳转url不能为空")
    private String url;
}
